﻿using System;
using System.Collections.Generic;

namespace NP.BPMReportPlatform.BuyerScarletInformation.Dto
{
    public class GetBuyerScarletInformationInput : PagedAndSortedRequestDto, IExtraPagedAndSortedRequestDto,
        IQueryAllRequestDto
    {
        public string InstanceNumber { get; set; }
        public string AddUserName { get; set; }
        public List<string> OrderStatus { get; set; }
        public DateTime? StartCreationTime { get; set; }
        public DateTime? EndCreationTime { get; set; }
        public string ProcessTopic { get; set; }
        public bool IsQueryAll { get; set; }
  
        /// <summary>
        /// 购买方类型（关联企业，供应商）
        /// </summary> 
        public string BuyerType { get; set; }

        /// <summary>
        /// 销方公司代码
        /// </summary> 
        public string CompanyCode { get; set; }

        /// <summary>
        /// 购方公司代码
        /// </summary> 
        public string BuyerCode { get; set; }

        /// <summary>
        /// 销方公司名称
        /// </summary> 
        public string CompanyName { get; set; }

        /// <summary>
        /// 购方公司名称
        /// </summary>
        public string BuyerName { get; set; }

        /// <summary>
        /// 下发的购方红字信息编号（SendRedLetterInvoiceMain applyTaxNo）
        /// </summary>
        public string RedLetterNumber { get; set; }

        /// <summary>
        /// 红冲原因
        /// </summary>
        public string CreditMemoReason { get; set; }

        /// <summary>
        /// 发票号码
        /// </summary>
        public string InvoiceNumber { get; set; }

        /// <summary>
        /// 发票代码
        /// </summary>
        public string InvoiceCode { get; set; }


        /// <summary>
        /// 红冲金额(含税)
        /// </summary>
        public decimal CreditMemoAmountHasTax { get; set; }

        /// <summary>
        /// 红冲金额(未税)
        /// </summary>
        public decimal CreditMemoAmountNoTax { get; set; }

        /// <summary>
        /// sap入账凭证
        /// </summary>
        public string SAPEntryVoucher { get; set; }

        /// <summary>
        /// 红字发票号码
        /// </summary>
        public string RedInvoiceNumber { get; set; }

        /// <summary>
        /// 红字发票代码
        /// </summary>
        public string RedInvoiceCode { get; set; }


        /// <summary>
        /// 红字发票日期
        /// </summary>
        public DateTime? RedInvoiceDate { get; set; }

        /*/// <summary>
        /// 下发红字信息接口对应字段
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ApplySerialNo { get; set; }*/

        /// <summary>
        /// 退货单号
        /// </summary> 
        public string SapReceipt { get; set; }
    }
}